/**
 * Filename: MXitMessageV2.java
 * Developer: Surim
 * Date: 03 March 2010
 * Description: MXit message details
 */

package MXitMXMConverter;

public class MXitMessageV2 {
    public int len;
    public long timestamp;
    public String fromAlias;
    public String toAlias;
    public String body;
    public String flags;

    @Override public String toString()
    {
        String rtnString = new String();

        rtnString  = "Len: " + this.len + "\n";
        rtnString += "Timestamp: " + this.timestamp + "\n";
        rtnString += "From: " + this.fromAlias + "\n";
        rtnString += "To: " + this.toAlias + "\n";
        rtnString += "Body: " + this.body + "\n";

        return rtnString;
    }
}
